package com.huatai.dataservice.panel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 配置表
 * </p>
 *
 * @author lxc
 * @since 2022-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_config_dd")
@ApiModel(value="TbConfigDd对象", description="配置表")
public class TbConfigDd implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键id")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	@TableField(value = "dicType")
	@ApiModelProperty(value = "类型")
	private String dicType;

	@TableField(value = "dicName")
	@ApiModelProperty(value = "名称")
	private String dicName;

	@TableField(value = "dicCode")
	@ApiModelProperty(value = "编码")
	private String dicCode;

	@TableField(value = "remark")
	@ApiModelProperty(value = "说明")
	private String remark;

	@TableField(value = "unit")
	@ApiModelProperty(value = "单位")
	private String unit;

	@TableField(value = "maxThreshold")
	@ApiModelProperty(value = "最大门限值")
	private Double maxThreshold;

	@TableField(value = "minThreshold")
	@ApiModelProperty(value = "最小门限值")
	private Double minThreshold;

	@TableField(value = "filedList")
	@ApiModelProperty(value = "字段列表")
	private String filedList;

	@TableField(value = "isCache")
	@ApiModelProperty(value = "是否缓存")
	private Integer isCache;

	@TableField(value = "cacheNum")
	@ApiModelProperty(value = "缓存量")
	private Integer cacheNum;

    /*private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "类型")
    private String dicType;

    @ApiModelProperty(value = "名称")
    private String dicName;

    @ApiModelProperty(value = "编码")
    private String dicCode;

    @ApiModelProperty(value = "说明")
    private String remark;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "最大门限值")
    private Double maxThreshold;

    @ApiModelProperty(value = "最小门限值")
    private Double minThreshold;

    @ApiModelProperty(value = "字段列表")
    private String filedList;

    @ApiModelProperty(value = "是否缓存")
    private Integer isCache;

    @ApiModelProperty(value = "缓存量")
    private Integer cacheNum;*/

}
